import request from "../utils/request";

export const getReservationList = (params) => request.get('/api/reservation/list', { params });
export const cancelReservation = (id) => request.delete(`/api/reservation/${id}`);
export const addReservation = (data) => request.post('/api/reservation', data);
export const updateReservation = (data) => request.put('/api/reservation', data);
export const exportReservations = (params) => request.get('/api/reservation/export', { params });